<?php
namespace app\model\v1;

use think\Db;
use think\Model;

class BsProvince extends Model
{
	public function get_Province($parent_id)
	{
        $where=[];
		if ($parent_id){
			$where = ['PROVINCE_CODE'=>$parent_id];
		}
		$data = $this->where($where)->select()->toArray();

		return $data ;
	}
}